@charset "utf-8";
@import "option_common/option_common";
.oldsong {
    // display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    .oldsong_back {
        img {
            width: 100%;
            height: 100%;
        }
    }
    .oldsong_lamplight {
        position: absolute;
        top: r(0px);
        right: r(-374px);
        img {
            width: 60%;
        }
    }
    .oldsong_oldman {
        position: absolute;
        top: r(100px);
        left: r(40px);
        z-index: 1;
        animation: oldman 1s linear 2s infinite;
        animation-fill-mode: forwards;
        img {
            width: 80%;
        }
    }
    .oldsong_flower {
        position: absolute;
        top: r(320px);
        animation: oldflower 1s linear;
        animation-fill-mode: forwards;
        animation-name: bounceInDown;
        img {
            width: 96%;
        }
    }
}

@keyframes oldflower {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateX(20px);
    }
}

@keyframes oldman {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(0px);
    }
    75% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0px);
    }
}